import { Schema, model } from 'mongoose';

const majorSchema = new Schema({
    majorname: { required: true, type: String }
});

const MajorModel = model('majors',majorSchema);

export default MajorModel;